<template>
	<view class="page">
		<div style="font-size: 18px;font-weight: bold;margin-top: 12px;align-self: center;">恭喜抢购成功</div>
		<div style="font-size: 12px;font-weight: bold;margin-top: 12px;align-self: center;color: #808080;">完善下面信息并支付完成购买</div>

		<div
			style="padding: 12px;background-color: #FFFFFF;display: flex;align-items: center;border-bottom: 1px solid #ebebeb;margin-top: 20px;">
			<div style="width:90px">订单号:</div>
			<div style="margin-left: 12px;">{{data.orderNo}}</div>
		</div>
		<div
			style="padding: 12px;background-color: #FFFFFF;display: flex;align-items: center;border-bottom: 1px solid #ebebeb;">
			<div style="width: 90px;">订单金额:</div>
			<div style="margin-left: 12px;">¥{{data.orderAmount}}</div>
		</div>

		<div style="display: flex;background-color: #ffffff;padding: 12px;border-bottom: 1px solid #ebebeb;">
			<div style="width:90px;">姓名</div>
			<input type="text" value="" placeholder="请输入姓名"  style="margin-left: 12px;"/>
		</div>
		<div style="display: flex;background-color: #ffffff;padding: 12px;border-bottom: 1px solid #ebebeb;">
			<div style="width:90px;">手机号/微信</div>
			<input type="text" value="" placeholder="请输入手机号" style="margin-left: 12px;"/>
		</div>
		<div style="display: flex;background-color: #ffffff;padding: 12px;border-bottom: 1px solid #ebebeb;">
			<div style="width:90px;">备注</div>
			<textarea type="text" value="" placeholder="请输入姓名" style="margin-left: 25px;"/>
		</div>
		<div
			style="padding: 12px 0;background-color: #00aa00;color: #FFFFFF;text-align: center;margin-top: 40px;border-radius: 4px;margin-left: 20px;margin-right: 20px;">
			立即支付</div>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				data:{}
			}
		},
		onLoad(option) {
			this.data = JSON.parse(decodeURIComponent(option.data))
		},
		methods: {
			back() {
				uni.navigateBack({

				})
			}
		}
	}
</script>

<style scoped>
	.page {
		flex: 1;
		background-color: #FFFFFF;
		display: flex;
		flex-direction: column;
	}
</style>
